package com.jic.data.model.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ApiModel(description = " 订单商品明细表实体类")
public class MOrderGoodsRequest extends BaseEntityRequest {
    private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键ID") 
    @ApiModelProperty(notes = "主键ID")

    private Long id;
    // @NotEmpty(message = "订单号") 
    @ApiModelProperty(notes = "订单号")

    private String orderNo;
    // @NotEmpty(message = "商品id") 
    @ApiModelProperty(notes = "商品id")

    private Long goodsId;
    // @NotEmpty(message = "商品名称") 
    @ApiModelProperty(notes = "商品名称")

    private String goodsName;
    // @NotEmpty(message = "商品图片地址，用于用户订单列表展示") 
    @ApiModelProperty(notes = "商品图片地址，用于用户订单列表展示")

    private String goodsImgUrl;
    // @NotEmpty(message = "商品类型，无仓、普通") 
    @ApiModelProperty(notes = "商品类型，无仓、普通")

    private Integer goodsType;
    // @NotEmpty(message = "商品数量") 
    @ApiModelProperty(notes = "商品数量")

    private Integer goodsNum;
    // @NotEmpty(message = "商品数量，已转交货单数量") 
    @ApiModelProperty(notes = "商品数量，已转交货单数量")

    private Integer alreadyTransferDeliverNum;
    // @NotEmpty(message = "商品数量，待转交货单数量") 
    @ApiModelProperty(notes = "商品数量，待转交货单数量")

    private Integer waitTransferDeliverNum;
    // @NotEmpty(message = "销售单价，对应销售总金额") 
    @ApiModelProperty(notes = "销售单价，对应销售总金额")

    private BigDecimal saleUnitPrice;
    // @NotEmpty(message = "优惠单价，对应优惠总金额") 
    @ApiModelProperty(notes = "优惠单价，对应优惠总金额")

    private BigDecimal discountUnitPrice;
    // @NotEmpty(message = "购买单价，对应购买总金额") 
    @ApiModelProperty(notes = "购买单价，对应购买总金额")

    private BigDecimal buyUnitPrice;
    // @NotEmpty(message = "物流平摊单价") 
    @ApiModelProperty(notes = "物流平摊单价")

    private BigDecimal expressUnitFee;
    // @NotEmpty(message = "实付总金额，实付总金额=（购买单价+物流平摊单价）*数量") 
    @ApiModelProperty(notes = "实付总金额，实付总金额=（购买单价+物流平摊单价）*数量")

    private BigDecimal actualPayTotalAmount;
    // @NotEmpty(message = "备注") 
    @ApiModelProperty(notes = "备注")

    private String mark;
    // @NotEmpty(message = "版本号") 
    @ApiModelProperty(notes = "版本号")

    private Long version;
    // @NotEmpty(message = "创建人名字") 
    @ApiModelProperty(notes = "创建人名字")

    private String createName;
    // @NotEmpty(message = "修改人") 
    @ApiModelProperty(notes = "修改人")

    private Long updator;
    // @NotEmpty(message = "修改人名字") 
    @ApiModelProperty(notes = "修改人名字")

    private String updateName;
    // @NotEmpty(message = "1标识已删除，0标识未删除") 
    @ApiModelProperty(notes = "1标识已删除，0标识未删除")

    private Integer isDelete;
    // @NotEmpty(message = "运营方ID") 
    @ApiModelProperty(notes = "运营方ID")

    private Long deptId;
}
